<?php
  include_once('../maths/tool_maths.php');

//$array1=array(32,143,537,202,1256,62,694,0,71);
//$array2=array(27,124,733,302,1225,308,419,69,1055,0,71);

$array1 = array(0,10,20,30);
$array2 = array(0,30,30,30);

//$deriv1 = tool_maths::get_deriv($array1);
//$deriv2 = tool_maths::get_deriv($array2);
$array_pente1 = tool_maths::get_array_pente($array1);
$array_pente2 = tool_maths::get_array_pente($array2);

print_r($array_pente1);
print_r($array_pente2);
?>
